package com.demo.java8.lambda;

/**
 * Created by churcy on 2018/3/21.
 */
public class AppleGreenPredicate implements ApplePredicate {

    public boolean test(Apple apple) {
        return "green".equals(apple.getColor());
    }
}
